//
//  KFDownloadViewController.swift
//  iPhone
//
//  Created by Toj on 3/28/23.
//

import UIKit
import Kingfisher

class KFDownloadViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

    }
    
    
    func downloadImage() {
        guard let url = URL(string: "http://cdn.startimestv.com/static/files/console/8ef51614-8dc7-4e8f-a725-f765fb20a1a111.gif") else { return }
        ImageDownloader.default.downloadImage(with: url, options: [.backgroundDecode, .fromMemoryCacheOrRefresh], completionHandler: { result in
            
        })
    }
}
